package com.gdit.zax.dao;

import java.util.ArrayList;

import com.gdit.zax.entitys.Plan;
import com.gdit.zax.entitys.TaskAll;

//计划没有内容，只有标题
public interface PlanDao {
	public ArrayList<Plan> listPlan (int page, int onepagecount);//管理员使用
	public ArrayList<Plan> listPlan(int uid,int page, int onepagecount);
	
	public Plan getPlanInfo(int pid);
	
	public Plan getMyLastPlanInfo(int uid);
	
	public boolean addPlan(Plan data);
	public boolean delPlan(int id);
	
	public ArrayList<TaskAll> listTask(int uid,int page, int onepagecount);//列出用户任务(计划)
}
